%MY_PLOTMARRHILDRETH Summary of this function goes here
% This function plots the original image and the 4 outputs of the
% Marr/Hildreth edge detector
function  my_plotMarrhildreth(  img, sigma0, sigma1, threshold )

[Gthres Gsmooth Gmh] = my_marrhildrethEdge(img, sigma0, sigma1, threshold);

figure;

%Enlarge screen so that the figures are not so small
set(gcf, 'Position', get(0,'Screensize'));

subplot(4, 1, 1);
imshow(img);
title('Original image (grayscale)');

subplot(4, 1, 2);
imshow(Gmh);
title('Filtered');

subplot(4, 1, 3);
imshow(Gsmooth);
title('Zeros Crossing pass');

subplot(4, 1, 4);
imshow(Gthres);
title('Threshold pass');

end

